package com.bc.mes.mbg.mapper;

import com.bc.mes.mbg.model.schedule.CalShift;
import com.bc.mes.mbg.model.schedule.CalShiftExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CalShiftMapper {
    int countByExample(CalShiftExample example);

    int deleteByExample(CalShiftExample example);

    int deleteByPrimaryKey(Long shiftId);

    int insert(CalShift record);

    int insertSelective(CalShift record);

    List<CalShift> selectByExample(CalShiftExample example);

    CalShift selectByPrimaryKey(Long shiftId);

    int updateByExampleSelective(@Param("record") CalShift record, @Param("example") CalShiftExample example);

    int updateByExample(@Param("record") CalShift record, @Param("example") CalShiftExample example);

    int updateByPrimaryKeySelective(CalShift record);

    int updateByPrimaryKey(CalShift record);
}